﻿using System;
using System.Collections.Generic;
using FikriKibar.Common.Validation.Entities;

namespace FikriKibar.Common.Exceptions
{
    public class ValidationException : BaseException
    {
        private List<FikriKibarValidationResult> _validationResult;

        public List<FikriKibarValidationResult> ValidationResult
        {

            get { return _validationResult ?? (_validationResult = new List<FikriKibarValidationResult>()); }
            set { _validationResult = value; }
        }

        public ValidationException()
        {

        }

        public ValidationException(string message) : base(message)
        {

        }

        public ValidationException(string message, Exception innerException) : base(message, innerException)
        {

        }
    }
}
